package accountManagementNew.common.pojo;

import accountManagementNew.common.enums.ConsumptionTypeIsEnableEnum;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户自定义消费类型
 * </p>
 *
 * @author lihonbin
 * @since 2025-09-28
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("user_consumption_type")
public class UserConsumptionType implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private String id;

    @TableField("name")
    private String name;

    @TableField("icon")
    private String icon;

    @TableField("color")
    private String color;

    @TableField("is_enable")
    private ConsumptionTypeIsEnableEnum isEnable;

    @TableField("user_id")
    private Long userId;

    @TableField("consumption_type_id")
    private Long consumptionTypeId;


}
